/**
 * <copyright>
 * </copyright>
 *
 * $Id$
 */
package uimigration.WidgetsModel;

import org.eclipse.emf.common.util.EList;

import org.eclipse.emf.ecore.EObject;

import uimigration.Plateform.Device;

/**
 * <!-- begin-user-doc -->
 * A representation of the model object '<em><b>API Model</b></em>'.
 * <!-- end-user-doc -->
 *
 * <p>
 * The following features are supported:
 * <ul>
 *   <li>{@link uimigration.WidgetsModel.APIModel#getContainsList <em>Contains</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.APIModel#getApiName <em>Api Name</em>}</li>
 *   <li>{@link uimigration.WidgetsModel.APIModel#getInstallOnList <em>Install On</em>}</li>
 * </ul>
 * </p>
 *
 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel()
 * @model
 * @generated
 */
public interface APIModel extends EObject {
	/**
	 * Returns the value of the '<em><b>Contains</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.WidgetsModel.Widget}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Contains</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Contains</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel_Contains()
	 * @model type="uimigration.WidgetsModel.Widget" containment="true"
	 * @generated NOT
	 */
	EList<Widget> getContains();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	Widget getContains(int index);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	int getContainsLength();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setContains(Widget[] newContains);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setContains(int index, Widget element);

	/**
	 * Returns the value of the '<em><b>Contains</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.WidgetsModel.Widget}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Contains</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Contains</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel_Contains()
	 * @model type="uimigration.WidgetsModel.Widget" containment="true"
	 * @generated
	 */
	EList<Widget> getContainsList();

	/**
	 * Returns the value of the '<em><b>Api Name</b></em>' attribute.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Api Name</em>' attribute isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Api Name</em>' attribute.
	 * @see #setApiName(String)
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel_ApiName()
	 * @model
	 * @generated
	 */
	String getApiName();

	/**
	 * Sets the value of the '{@link uimigration.WidgetsModel.APIModel#getApiName <em>Api Name</em>}' attribute.
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @param value the new value of the '<em>Api Name</em>' attribute.
	 * @see #getApiName()
	 * @generated
	 */
	void setApiName(String value);

	/**
	 * Returns the value of the '<em><b>Install On</b></em>' containment reference list.
	 * The list contents are of type {@link Plateform.Device}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Install On</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Install On</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel_InstallOn()
	 * @model type="Plateform.Device" containment="true"
	 * @generated NOT
	 */
	EList<Device> getInstallOn();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	Device getInstallOn(int index);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	int getInstallOnLength();

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setInstallOn(Device[] newInstallOn);

	/**
	 * <!-- begin-user-doc -->
	 * <!-- end-user-doc -->
	 * @generated
	 */
	void setInstallOn(int index, Device element);

	/**
	 * Returns the value of the '<em><b>Install On</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.Plateform.Device}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Install On</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Install On</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel_InstallOn()
	 * @model type="uimigration.Plateform.Device" containment="true"
	 * @generated
	 */
	EList<Device> getInstallOnList();

	/**
	 * Returns the value of the '<em><b>Devices</b></em>' containment reference list.
	 * The list contents are of type {@link uimigration.Plateform.Device}.
	 * <!-- begin-user-doc -->
	 * <p>
	 * If the meaning of the '<em>Devices</em>' containment reference list isn't clear,
	 * there really should be more of a description here...
	 * </p>
	 * <!-- end-user-doc -->
	 * @return the value of the '<em>Devices</em>' containment reference list.
	 * @see uimigration.WidgetsModel.WidgetsModelPackage#getAPIModel_Devices()
	 * @model type="uimigration.Plateform.Device" containment="true"
	 * @generated NOT
	 */
	EList<Device> getDevices();

	/**
	 * @generated
	 */
	Widget findWidget(String name);
} // APIModel
